/*      */ package com.jcrj.action.personalOffice;
/*      */ 
/*      */ import com.jcrj.action.BaseAction;
/*      */ import com.jcrj.entity.OAttendGroup;
/*      */ import com.jcrj.entity.OAttendanceHoliday;
/*      */ import com.jcrj.entity.OAttendanceRecord;
/*      */ import com.jcrj.entity.OAttendanceSet;
/*      */ import com.jcrj.entity.OUser;
/*      */ import com.jcrj.service.AttendenceManageService;
/*      */ import com.jcrj.util.DateArray;
/*      */ import com.jcrj.util.DateUtil;
/*      */ import java.io.IOException;
/*      */ import java.io.PrintWriter;
/*      */ import java.text.SimpleDateFormat;
/*      */ import java.util.Date;
/*      */ import java.util.List;
/*      */ import java.util.Map;
/*      */ import javax.servlet.http.HttpServletResponse;
/*      */ import net.sf.json.JSONObject;
/*      */ 
/*      */ public class AttendenceManageAction extends BaseAction
/*      */ {
/*      */   private String groupname;
/*      */   private OAttendanceSet oas;
/*      */   private Integer groupId;
/*      */   private AttendenceManageService attendenceManageService;
/*      */   private List<OAttendGroup> oagList;
/*      */   private List<OUser> userList;
/*      */   private OAttendGroup oag;
/*      */   private List<OAttendanceSet> oasetList;
/*      */   private Integer oasid;
/*      */   private String[] ids;
/*      */   private long pageCount;
/*      */   private long totalCount;
/*      */   private String time;
/*      */   private Date[][] days;
/*      */   private Date date;
/*      */   private List<OAttendanceRecord> oarList;
/*      */   private String account;
/*      */   private OAttendanceHoliday oattendanceHoliday;
/*      */   private List<OAttendanceHoliday> oattendanceHolidayList;
/*      */   private String note;
/*      */   private Date dayoff;
/*      */   private String startTime;
/*      */   private String endTime;
/*      */   private String state;
/*      */ 
/*      */   public String addGroup()
/*      */   {
/*      */     try
/*      */     {
/*   57 */       OAttendGroup oag = new OAttendGroup();
/*   58 */       OUser ou = (OUser)super.getSession().get("userInfo");
/*   59 */       oag.setName(this.groupname);
/*   60 */       oag.setUserId(ou.getId());
/*   61 */       oag.setUserName(ou.getName());
/*   62 */       oag.setCreateTime(new Date());
/*   63 */       this.attendenceManageService.saveGroup(oag);
/*   64 */       super.getResponse().getWriter().write("success");
/*   65 */       super.getResponse().getWriter().flush();
/*      */     } catch (Exception e) {
/*   67 */       e.printStackTrace();
/*      */       try
/*      */       {
/*   70 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*   72 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*   70 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*   72 */         e.printStackTrace();
/*      */       }
/*      */     }
/*      */ 
/*   76 */     return null;
/*      */   }
/*      */ 
/*      */   public String addGroupUser()
/*      */   {
/*   81 */     this.oag = this.attendenceManageService.getgroup(this.groupId.intValue());
/*   82 */     return "success";
/*      */   }
/*      */ 
/*      */   public String saveAttendGroupUser() {
/*   86 */     this.attendenceManageService.addgroupuser(this.groupId, this.ids);
/*   87 */     return null;
/*      */   }
/*      */ 
/*      */   public String add() {
/*   91 */     return "success";
/*      */   }
/*      */ 
/*      */   public String groupList() {
/*   95 */     this.totalCount = this.attendenceManageService.getGroupCount().longValue();
/*   96 */     this.pageCount = ((this.totalCount - 1L) / 10L + 1L);
/*   97 */     if (super.getCurrentPage() > this.pageCount) {
/*   98 */       super.setCurrentPage(Long.valueOf(this.pageCount).intValue());
/*      */     }
/*  100 */     this.oagList = this.attendenceManageService.getGroups(super.getCurrentPage());
/*  101 */     for (int i = 0; i < this.oagList.size(); i++)
/*      */     {
/*  103 */       List userlist = this.attendenceManageService.getgroupuse(((OAttendGroup)this.oagList.get(i)).getId().intValue());
/*  104 */       ((OAttendGroup)this.oagList.get(i)).setUserNames(userlist);
/*      */     }
/*      */ 
/*  109 */     return "success";
/*      */   }
/*      */   public String deleteAttendGroup() {
/*      */     try {
/*  113 */       this.attendenceManageService.deleteGroup(this.ids);
/*  114 */       getResponse().getWriter().write("success");
/*      */     } catch (Exception e) {
/*  116 */       e.printStackTrace();
/*      */     }
/*  118 */     return null;
/*      */   }
/*      */   public String loadGroupUser() {
/*      */     try {
/*  122 */       super.getResponse().setCharacterEncoding("UTF-8");
/*  123 */       List userlist = this.attendenceManageService.getgroupuse(this.groupId.intValue());
/*  124 */       JSONObject json = new JSONObject();
/*  125 */       json.put("userlist", userlist);
/*  126 */       super.getResponse().getWriter().write(json.toString());
/*  127 */       super.getResponse().getWriter().flush();
/*      */     } catch (IOException e) {
/*  129 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  132 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*  134 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  132 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  134 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  137 */     return null;
/*      */   }
/*      */ 
/*      */   public String eachAttendGroup() {
/*  141 */     this.userList = this.attendenceManageService.getgroupuse(this.groupId.intValue(), super.getCurrentPage());
/*  142 */     this.totalCount = this.attendenceManageService.getGroupuserCount(this.groupId.intValue()).longValue();
/*  143 */     this.pageCount = ((this.totalCount - 1L) / 10L + 1L);
/*      */ 
/*  145 */     return "success";
/*      */   }
/*      */ 
/*      */   public String attendTimeList()
/*      */   {
/*  150 */     this.totalCount = this.attendenceManageService.getAttendTimeCount().longValue();
/*  151 */     this.pageCount = ((this.totalCount - 1L) / 10L + 1L);
/*  152 */     if (super.getCurrentPage() > this.pageCount) {
/*  153 */       super.setCurrentPage(Long.valueOf(this.pageCount).intValue());
/*      */     }
/*  155 */     this.oasetList = this.attendenceManageService.getAttendanceTime(super.getCurrentPage());
/*  156 */     setDate(new Date());
/*  157 */     return "success";
/*      */   }
/*      */ 
/*      */   public String addAttendTime() {
/*  161 */     return "success";
/*      */   }
/*      */ 
/*      */   public String addAttendanceTime()
/*      */   {
/*      */     try
/*      */     {
/*  168 */       this.attendenceManageService.saveAttendanceTime(this.oas);
/*  169 */       super.getResponse().getWriter().write("success");
/*  170 */       super.getResponse().getWriter().flush();
/*      */     } catch (Exception e) {
/*  172 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  175 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*  177 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  175 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  177 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  180 */     return null;
/*      */   }
/*      */ 
/*      */   public String getAttendTime()
/*      */   {
/*  185 */     this.oas = ((OAttendanceSet)this.attendenceManageService.getAttendTime(this.oasid.intValue()).get(0));
/*  186 */     return "success";
/*      */   }
/*      */ 
/*      */   public String updateAttendanceTime()
/*      */   {
/*      */     try {
/*  192 */       this.attendenceManageService.updateAttendTime(this.oas);
/*  193 */       super.getResponse().getWriter().write("success");
/*  194 */       super.getResponse().getWriter().flush();
/*      */     }
/*      */     catch (Exception e) {
/*  197 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  200 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*  202 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  200 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  202 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  204 */     return null;
/*      */   }
/*      */ 
/*      */   public String updateStatus() {
/*      */     try {
/*  209 */       this.attendenceManageService.clearStatus();
/*  210 */       this.attendenceManageService.updateAttendStatus(this.oas);
/*  211 */       super.getResponse().getWriter().write("success");
/*  212 */       super.getResponse().getWriter().flush();
/*      */     }
/*      */     catch (Exception e) {
/*  215 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  218 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*  220 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  218 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  220 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  222 */     return null;
/*      */   }
/*      */   public String deleteAttendTime() {
/*      */     try {
/*  226 */       this.attendenceManageService.deleteAttendTime(this.ids);
/*  227 */       getResponse().getWriter().write("success");
/*      */     } catch (Exception e) {
/*  229 */       e.printStackTrace();
/*      */     }
/*  231 */     return null;
/*      */   }
/*      */ 
/*      */   public String signIn()
/*      */   {
/*  237 */     OUser ou = (OUser)super.getSession().get("userInfo");
/*  238 */     OAttendanceRecord oar = new OAttendanceRecord();
/*  239 */     String nowTime = this.attendenceManageService.getNowTime();
/*  240 */     String nowMonth = this.attendenceManageService.getNowYear() + this.attendenceManageService.getNowMonth();
/*  241 */     String nowDay = this.attendenceManageService.getNowDay();
/*  242 */     Date creatTime = new Date();
/*  243 */     if (this.attendenceManageService.isNight(nowTime)) {
/*      */       try
/*      */       {
/*  246 */         nowMonth = this.attendenceManageService.getBeforeMonth();
/*  247 */         nowDay = this.attendenceManageService.getBeforeDay();
/*  248 */         creatTime = this.attendenceManageService.getBeforeDate();
/*      */       } catch (Exception e) {
/*  250 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  253 */     if (this.attendenceManageService.monthExist(ou, nowMonth) > 0) {
/*  254 */       int oarid = this.attendenceManageService.dayExist(ou, nowDay, nowMonth);
/*  255 */       if (oarid > 0) {
/*  256 */         if (this.attendenceManageService.amSign(nowTime)) {
/*  257 */           if (this.attendenceManageService.getOAttendanceRecord(oarid).getAmBeganSian() == null) {
/*      */             try {
/*  259 */               oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  260 */               oar.setAmBeganSian(nowTime);
/*  261 */               this.attendenceManageService.updateOAttendanceRecord(oar);
/*  262 */               super.getResponse().getWriter().write("amsignin");
/*  263 */               super.getResponse().getWriter().flush();
/*      */             } catch (Exception e) {
/*  265 */               e.printStackTrace();
/*      */               try
/*      */               {
/*  268 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e1) {
/*  270 */                 e1.printStackTrace();
/*      */               }
/*      */             }
/*      */             finally
/*      */             {
/*      */               try
/*      */               {
/*  268 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e) {
/*  270 */                 e.printStackTrace();
/*      */               }
/*      */             }
/*      */             try
/*      */             {
/*  268 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  270 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           else
/*      */           {
/*      */             try
/*      */             {
/*  277 */               super.getResponse().getWriter().write("reamsignin");
/*  278 */               super.getResponse().getWriter().flush();
/*      */             }
/*      */             catch (Exception e) {
/*  281 */               e.printStackTrace();
/*      */               try
/*      */               {
/*  284 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e1) {
/*  286 */                 e1.printStackTrace();
/*      */               }
/*      */             }
/*      */             finally
/*      */             {
/*      */               try
/*      */               {
/*  284 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e) {
/*  286 */                 e.printStackTrace();
/*      */               }
/*      */             }
/*      */             try
/*      */             {
/*  284 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  286 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */ 
/*      */         }
/*  291 */         else if (this.attendenceManageService.pmSign(nowTime))
/*      */         {
/*  293 */           if (this.attendenceManageService.getOAttendanceRecord(oarid).getPmBeganSian() == null)
/*      */           {
/*      */             try {
/*  296 */               oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  297 */               oar.setPmBeganSian(nowTime);
/*  298 */               this.attendenceManageService.updateOAttendanceRecord(oar);
/*      */ 
/*  300 */               super.getResponse().setCharacterEncoding("utf-8");
/*  301 */               super.getResponse().getWriter().write("pmsignin");
/*  302 */               super.getResponse().getWriter().flush();
/*      */             }
/*      */             catch (Exception e) {
/*  305 */               e.printStackTrace();
/*      */               try
/*      */               {
/*  308 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e1) {
/*  310 */                 e1.printStackTrace();
/*      */               }
/*      */             }
/*      */             finally
/*      */             {
/*      */               try
/*      */               {
/*  308 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e) {
/*  310 */                 e.printStackTrace();
/*      */               }
/*      */             }
/*      */             try
/*      */             {
/*  308 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  310 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           else {
/*      */             try {
/*  315 */               super.getResponse().getWriter().write("repmsignin");
/*  316 */               super.getResponse().getWriter().flush();
/*      */             }
/*      */             catch (Exception e) {
/*  319 */               e.printStackTrace();
/*      */               try
/*      */               {
/*  322 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e1) {
/*  324 */                 e1.printStackTrace();
/*      */               }
/*      */             }
/*      */             finally
/*      */             {
/*      */               try
/*      */               {
/*  322 */                 super.getResponse().getWriter().close();
/*      */               } catch (IOException e) {
/*  324 */                 e.printStackTrace();
/*      */               }
/*      */             }
/*      */             try
/*      */             {
/*  322 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  324 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */ 
/*      */         }
/*  329 */         else if (this.attendenceManageService.getOAttendanceRecord(oarid).getNightBeganSian() == null)
/*      */         {
/*      */           try {
/*  332 */             oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  333 */             oar.setNightBeganSian(nowTime);
/*  334 */             this.attendenceManageService.updateOAttendanceRecord(oar);
/*  335 */             super.getResponse().getWriter().write("nightsignin");
/*  336 */             super.getResponse().getWriter().flush();
/*      */           } catch (Exception e) {
/*  338 */             e.printStackTrace();
/*      */             try
/*      */             {
/*  341 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e1) {
/*  343 */               e1.printStackTrace();
/*      */             }
/*      */           }
/*      */           finally
/*      */           {
/*      */             try
/*      */             {
/*  341 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  343 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           try
/*      */           {
/*  341 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  343 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         else {
/*      */           try {
/*  348 */             super.getResponse().getWriter().write("renightsignin");
/*  349 */             super.getResponse().getWriter().flush();
/*      */           } catch (Exception e) {
/*  351 */             e.printStackTrace();
/*      */             try
/*      */             {
/*  354 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e1) {
/*  356 */               e1.printStackTrace();
/*      */             }
/*      */           }
/*      */           finally
/*      */           {
/*      */             try
/*      */             {
/*  354 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  356 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           try
/*      */           {
/*  354 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  356 */             e.printStackTrace();
/*      */           }
/*      */ 
/*      */         }
/*      */ 
/*      */       }
/*  362 */       else if (this.attendenceManageService.amSign(nowTime)) {
/*      */         try {
/*  364 */           oar.setAmBeganSian(nowTime);
/*  365 */           oar.setCreatTime(creatTime);
/*  366 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*  367 */           super.getResponse().getWriter().write("amsignin");
/*  368 */           super.getResponse().getWriter().flush();
/*      */         } catch (Exception e) {
/*  370 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  373 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  375 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  373 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  375 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  373 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  375 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*  379 */       else if (this.attendenceManageService.pmSign(nowTime)) {
/*      */         try {
/*  381 */           oar.setPmBeganSian(nowTime);
/*  382 */           oar.setCreatTime(creatTime);
/*  383 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*  384 */           super.getResponse().getWriter().write("pmsignin");
/*  385 */           super.getResponse().getWriter().flush();
/*      */         } catch (Exception e) {
/*  387 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  390 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  392 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  390 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  392 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  390 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  392 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       else {
/*      */         try {
/*  397 */           oar.setNightBeganSian(nowTime);
/*  398 */           oar.setCreatTime(creatTime);
/*  399 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*  400 */           super.getResponse().setCharacterEncoding("utf-8");
/*  401 */           super.getResponse().getWriter().write("nightsignin");
/*  402 */           super.getResponse().getWriter().flush();
/*      */         }
/*      */         catch (Exception e) {
/*  405 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  408 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  410 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  408 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  410 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  408 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  410 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*      */ 
/*      */     }
/*  416 */     else if (this.attendenceManageService.amSign(nowTime)) {
/*      */       try {
/*  418 */         oar.setAmBeganSian(nowTime);
/*  419 */         oar.setCreatTime(creatTime);
/*  420 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*  421 */         super.getResponse().setCharacterEncoding("utf-8");
/*  422 */         super.getResponse().getWriter().write("amsignin");
/*  423 */         super.getResponse().getWriter().flush();
/*      */       }
/*      */       catch (Exception e) {
/*  426 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  429 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  431 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  429 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  431 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       try
/*      */       {
/*  429 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  431 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  434 */     else if (this.attendenceManageService.pmSign(nowTime)) {
/*      */       try {
/*  436 */         oar.setPmBeganSian(nowTime);
/*  437 */         oar.setCreatTime(creatTime);
/*  438 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*  439 */         super.getResponse().getWriter().write("pmsignin");
/*  440 */         super.getResponse().getWriter().flush();
/*      */       } catch (Exception e) {
/*  442 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  445 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  447 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  445 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  447 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       try
/*      */       {
/*  445 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  447 */         e.printStackTrace();
/*      */       }
/*      */     }
/*      */     else {
/*      */       try {
/*  452 */         oar.setNightBeganSian(nowTime);
/*  453 */         oar.setCreatTime(creatTime);
/*  454 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*  455 */         super.getResponse().getWriter().write("nightsignin");
/*  456 */         super.getResponse().getWriter().flush();
/*      */       } catch (Exception e) {
/*  458 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  461 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  463 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  461 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  463 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*      */ 
/*      */     }
/*      */ 
/*  470 */     return null;
/*      */   }
/*      */ 
/*      */   public String signOut() {
/*  474 */     OUser ou = (OUser)super.getSession().get("userInfo");
/*  475 */     OAttendanceRecord oar = new OAttendanceRecord();
/*  476 */     String nowTime = this.attendenceManageService.getNowTime();
/*  477 */     String nowMonth = this.attendenceManageService.getNowYear() + this.attendenceManageService.getNowMonth();
/*  478 */     String nowDay = this.attendenceManageService.getNowDay();
/*  479 */     Date creatTime = new Date();
/*  480 */     if (this.attendenceManageService.isNight(nowTime))
/*      */     {
/*      */       try
/*      */       {
/*  484 */         nowMonth = this.attendenceManageService.getBeforeMonth();
/*  485 */         nowDay = this.attendenceManageService.getBeforeDay();
/*  486 */         creatTime = this.attendenceManageService.getBeforeDate();
/*      */       }
/*      */       catch (Exception e) {
/*  489 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  492 */     if (this.attendenceManageService.monthExist(ou, nowMonth) > 0)
/*      */     {
/*  494 */       int oarid = this.attendenceManageService.dayExist(ou, nowDay, nowMonth);
/*  495 */       if (oarid > 0)
/*      */       {
/*  497 */         if (this.attendenceManageService.amSignOut(nowTime))
/*      */         {
/*      */           try
/*      */           {
/*  502 */             oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  503 */             oar.setAmEndSian(nowTime);
/*  504 */             this.attendenceManageService.updateOAttendanceRecord(oar);
/*      */ 
/*  506 */             super.getResponse().setCharacterEncoding("utf-8");
/*  507 */             super.getResponse().getWriter().write("amsignout");
/*  508 */             super.getResponse().getWriter().flush();
/*      */           }
/*      */           catch (Exception e) {
/*  511 */             e.printStackTrace();
/*      */             try
/*      */             {
/*  514 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e1) {
/*  516 */               e1.printStackTrace();
/*      */             }
/*      */           }
/*      */           finally
/*      */           {
/*      */             try
/*      */             {
/*  514 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  516 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           try
/*      */           {
/*  514 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  516 */             e.printStackTrace();
/*      */           }
/*      */ 
/*      */         }
/*  520 */         else if (this.attendenceManageService.pmSignOut(nowTime))
/*      */         {
/*      */           try
/*      */           {
/*  525 */             oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  526 */             oar.setPmEndSian(nowTime);
/*  527 */             this.attendenceManageService.updateOAttendanceRecord(oar);
/*      */ 
/*  529 */             super.getResponse().setCharacterEncoding("utf-8");
/*  530 */             super.getResponse().getWriter().write("pmsignout");
/*  531 */             super.getResponse().getWriter().flush();
/*      */           }
/*      */           catch (Exception e) {
/*  534 */             e.printStackTrace();
/*      */             try
/*      */             {
/*  537 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e1) {
/*  539 */               e1.printStackTrace();
/*      */             }
/*      */           }
/*      */           finally
/*      */           {
/*      */             try
/*      */             {
/*  537 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  539 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           try
/*      */           {
/*  537 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  539 */             e.printStackTrace();
/*      */           }
/*      */ 
/*      */         }
/*      */         else
/*      */         {
/*      */           try
/*      */           {
/*  548 */             oar = this.attendenceManageService.getOAttendanceRecord(oarid);
/*  549 */             oar.setNightEndSian(nowTime);
/*  550 */             this.attendenceManageService.updateOAttendanceRecord(oar);
/*      */ 
/*  552 */             super.getResponse().setCharacterEncoding("utf-8");
/*  553 */             super.getResponse().getWriter().write("nightsignout");
/*  554 */             super.getResponse().getWriter().flush();
/*      */           }
/*      */           catch (Exception e) {
/*  557 */             e.printStackTrace();
/*      */             try
/*      */             {
/*  560 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e1) {
/*  562 */               e1.printStackTrace();
/*      */             }
/*      */           }
/*      */           finally
/*      */           {
/*      */             try
/*      */             {
/*  560 */               super.getResponse().getWriter().close();
/*      */             } catch (IOException e) {
/*  562 */               e.printStackTrace();
/*      */             }
/*      */           }
/*      */           try
/*      */           {
/*  560 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  562 */             e.printStackTrace();
/*      */           }
/*      */ 
/*      */         }
/*      */ 
/*      */       }
/*  569 */       else if (this.attendenceManageService.amSignOut(nowTime))
/*      */       {
/*      */         try {
/*  572 */           oar.setAmEndSian(nowTime);
/*  573 */           oar.setCreatTime(creatTime);
/*  574 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*      */ 
/*  576 */           super.getResponse().setCharacterEncoding("utf-8");
/*  577 */           super.getResponse().getWriter().write("amsignout");
/*  578 */           super.getResponse().getWriter().flush();
/*      */         }
/*      */         catch (Exception e) {
/*  581 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  584 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  586 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  584 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  586 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  584 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  586 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*  590 */       else if (this.attendenceManageService.pmSignOut(nowTime))
/*      */       {
/*      */         try {
/*  593 */           oar.setPmEndSian(nowTime);
/*  594 */           oar.setCreatTime(creatTime);
/*  595 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*      */ 
/*  597 */           super.getResponse().setCharacterEncoding("utf-8");
/*  598 */           super.getResponse().getWriter().write("pmsignout");
/*  599 */           super.getResponse().getWriter().flush();
/*      */         }
/*      */         catch (Exception e) {
/*  602 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  605 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  607 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  605 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  607 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  605 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  607 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       else
/*      */       {
/*      */         try
/*      */         {
/*  614 */           oar.setNightEndSian(nowTime);
/*  615 */           oar.setCreatTime(creatTime);
/*  616 */           this.attendenceManageService.saveOAttendanceRecord(oar, nowDay, nowMonth);
/*  617 */           super.getResponse().setCharacterEncoding("utf-8");
/*  618 */           super.getResponse().getWriter().write("nightsignout");
/*  619 */           super.getResponse().getWriter().flush();
/*      */         }
/*      */         catch (Exception e) {
/*  622 */           e.printStackTrace();
/*      */           try
/*      */           {
/*  625 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e1) {
/*  627 */             e1.printStackTrace();
/*      */           }
/*      */         }
/*      */         finally
/*      */         {
/*      */           try
/*      */           {
/*  625 */             super.getResponse().getWriter().close();
/*      */           } catch (IOException e) {
/*  627 */             e.printStackTrace();
/*      */           }
/*      */         }
/*      */         try
/*      */         {
/*  625 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  627 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*      */ 
/*      */     }
/*  636 */     else if (this.attendenceManageService.amSignOut(nowTime))
/*      */     {
/*      */       try
/*      */       {
/*  640 */         oar.setAmEndSian(nowTime);
/*  641 */         oar.setCreatTime(creatTime);
/*  642 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*      */ 
/*  644 */         super.getResponse().setCharacterEncoding("utf-8");
/*  645 */         super.getResponse().getWriter().write("amsignout");
/*  646 */         super.getResponse().getWriter().flush();
/*      */       }
/*      */       catch (Exception e) {
/*  649 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  652 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  654 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  652 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  654 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       try
/*      */       {
/*  652 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  654 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  657 */     else if (this.attendenceManageService.pmSignOut(nowTime))
/*      */     {
/*      */       try
/*      */       {
/*  661 */         oar.setPmEndSian(nowTime);
/*  662 */         oar.setCreatTime(creatTime);
/*  663 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*      */ 
/*  665 */         super.getResponse().setCharacterEncoding("utf-8");
/*  666 */         super.getResponse().getWriter().write("pmsignout");
/*  667 */         super.getResponse().getWriter().flush();
/*      */       }
/*      */       catch (Exception e) {
/*  670 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  673 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  675 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  673 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  675 */           e.printStackTrace();
/*      */         }
/*      */       }
/*      */       try
/*      */       {
/*  673 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  675 */         e.printStackTrace();
/*      */       }
/*      */     }
/*      */     else
/*      */     {
/*      */       try
/*      */       {
/*  682 */         oar.setNightEndSian(nowTime);
/*  683 */         oar.setCreatTime(creatTime);
/*  684 */         this.attendenceManageService.saveSign(oar, ou, nowDay, nowMonth);
/*      */ 
/*  686 */         super.getResponse().setCharacterEncoding("utf-8");
/*  687 */         super.getResponse().getWriter().write("nightsignout");
/*  688 */         super.getResponse().getWriter().flush();
/*      */       }
/*      */       catch (Exception e) {
/*  691 */         e.printStackTrace();
/*      */         try
/*      */         {
/*  694 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e1) {
/*  696 */           e1.printStackTrace();
/*      */         }
/*      */       }
/*      */       finally
/*      */       {
/*      */         try
/*      */         {
/*  694 */           super.getResponse().getWriter().close();
/*      */         } catch (IOException e) {
/*  696 */           e.printStackTrace();
/*      */         }
/*      */ 
/*      */       }
/*      */ 
/*      */     }
/*      */ 
/*  703 */     return null;
/*      */   }
/*      */ 
/*      */   public String attendByMonth()
/*      */   {
/*      */     try
/*      */     {
/*  710 */       OUser ou = (OUser)super.getSession().get("userInfo");
/*  711 */       DateArray array = new DateArray();
/*  712 */       if ((this.time == null) || ("".equals(this.time))) {
/*  713 */         setDate(new Date());
/*  714 */         this.time = DateUtil.DateToString(new Date());
/*      */       } else {
/*  716 */         setDate(DateUtil.FormDate(this.time));
/*      */       }
/*  718 */       this.days = array.getAllDate(this.date);
/*      */ 
/*  720 */       this.oarList = this.attendenceManageService.getAttendByMonth(this.date, ou.getAccount());
/*  721 */       this.oattendanceHolidayList = this.attendenceManageService.getHolidayList();
/*      */     }
/*      */     catch (Exception e) {
/*  724 */       e.printStackTrace();
/*      */     }
/*      */ 
/*  727 */     return "success";
/*      */   }
/*      */ 
/*      */   public String eachAttendByMonth()
/*      */   {
/*      */     try
/*      */     {
/*  734 */       DateArray array = new DateArray();
/*  735 */       if ((this.time == null) || ("".equals(this.time))) {
/*  736 */         setDate(new Date());
/*  737 */         this.time = DateUtil.DateToString(new Date());
/*      */       } else {
/*  739 */         setDate(DateUtil.FormDate(this.time));
/*      */       }
/*  741 */       this.days = array.getAllDate(this.date);
/*      */ 
/*  744 */       this.oarList = this.attendenceManageService.getAttendByMonth(this.date, this.account);
/*  745 */       this.oattendanceHolidayList = this.attendenceManageService.getHolidayList();
/*      */     }
/*      */     catch (Exception e) {
/*  748 */       e.printStackTrace();
/*      */     }
/*      */ 
/*  751 */     return "success";
/*      */   }
/*      */ 
/*      */   public String holidayadd()
/*      */   {
/*  756 */     return "success";
/*      */   }
/*      */ 
/*      */   public String saveHoliday() {
/*      */     try {
/*  761 */       OUser ouser = (OUser)super.getSession().get("userInfo");
/*  762 */       SimpleDateFormat s = new SimpleDateFormat("yyyy-MM-dd");
/*  763 */       Date begin = s.parse(this.startTime);
/*  764 */       if (("".equals(this.endTime)) || (this.endTime == null)) {
/*  765 */         this.oattendanceHoliday.setDayoff(begin);
/*  766 */         this.oattendanceHoliday.setSetUser(ouser.getName());
/*  767 */         this.oattendanceHoliday.setState(this.state);
/*  768 */         this.attendenceManageService.saveHoliday(this.oattendanceHoliday);
/*      */       } else {
/*  770 */         Date end = s.parse(this.endTime);
/*  771 */         int count = this.attendenceManageService.getBetweenDays(begin, end);
/*  772 */         Date now = begin;
/*  773 */         if (count == 0) {
/*  774 */           this.oattendanceHoliday.setDayoff(begin);
/*  775 */           this.oattendanceHoliday.setSetUser(ouser.getName());
/*  776 */           this.oattendanceHoliday.setState(this.state);
/*  777 */           this.attendenceManageService.saveHoliday(this.oattendanceHoliday);
/*      */         } else {
/*  779 */           for (int i = 0; i <= count; i++) {
/*  780 */             this.oattendanceHoliday.setDayoff(now);
/*  781 */             this.oattendanceHoliday.setSetUser(ouser.getName());
/*  782 */             this.oattendanceHoliday.setState(this.state);
/*  783 */             this.attendenceManageService.saveHoliday(this.oattendanceHoliday);
/*  784 */             now = this.attendenceManageService.addDays(now, 1);
/*      */           }
/*      */         }
/*      */       }
/*  788 */       super.getResponse().getWriter().write("success");
/*  789 */       super.getResponse().getWriter().flush();
/*      */     }
/*      */     catch (Exception e)
/*      */     {
/*  793 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  796 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e1) {
/*  798 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  796 */         super.getResponse().getWriter().close();
/*      */       } catch (IOException e) {
/*  798 */         e.printStackTrace();
/*      */       }
/*      */     }
/*  801 */     return null;
/*      */   }
/*      */ 
/*      */   public String getHolidayList()
/*      */   {
/*  806 */     this.totalCount = this.attendenceManageService.getHolidayCount(this.note).longValue();
/*  807 */     this.pageCount = ((this.totalCount - 1L) / 10L + 1L);
/*  808 */     if (super.getCurrentPage() > this.pageCount) {
/*  809 */       super.setCurrentPage(Long.valueOf(this.pageCount).intValue());
/*      */     }
/*  811 */     this.oattendanceHolidayList = this.attendenceManageService.getHolidayList(this.note, super.getCurrentPage());
/*  812 */     return "success";
/*      */   }
/*      */ 
/*      */   public String deleteHoliday()
/*      */   {
/*      */     try
/*      */     {
/*  819 */       this.attendenceManageService.deleteHoliday(this.ids);
/*  820 */       super.getResponse().getWriter().write("success");
/*  821 */       super.getResponse().getWriter().flush();
/*      */     } catch (IOException e) {
/*  823 */       e.printStackTrace();
/*      */       try
/*      */       {
/*  826 */         super.getResponse().getWriter().close();
/*      */       } catch (Exception e1) {
/*  828 */         e1.printStackTrace();
/*      */       }
/*      */     }
/*      */     finally
/*      */     {
/*      */       try
/*      */       {
/*  826 */         super.getResponse().getWriter().close();
/*      */       } catch (Exception e) {
/*  828 */         e.printStackTrace();
/*      */       }
/*      */     }
/*      */ 
/*  832 */     return null;
/*      */   }
/*      */ 
/*      */   public AttendenceManageService getAttendenceManageService()
/*      */   {
/*  838 */     return this.attendenceManageService;
/*      */   }
/*      */ 
/*      */   public void setAttendenceManageService(AttendenceManageService attendenceManageService) {
/*  842 */     this.attendenceManageService = attendenceManageService;
/*      */   }
/*      */   public List<OAttendGroup> getOagList() {
/*  845 */     return this.oagList;
/*      */   }
/*      */   public void setOagList(List<OAttendGroup> oagList) {
/*  848 */     this.oagList = oagList;
/*      */   }
/*      */   public String getGroupname() {
/*  851 */     return this.groupname;
/*      */   }
/*      */   public void setGroupname(String groupname) {
/*  854 */     this.groupname = groupname;
/*      */   }
/*      */ 
/*      */   public int getGroupId() {
/*  858 */     return this.groupId.intValue();
/*      */   }
/*      */ 
/*      */   public OAttendGroup getOag() {
/*  862 */     return this.oag;
/*      */   }
/*      */ 
/*      */   public void setOag(OAttendGroup oag) {
/*  866 */     this.oag = oag;
/*      */   }
/*      */ 
/*      */   public String[] getIds() {
/*  870 */     return this.ids;
/*      */   }
/*      */ 
/*      */   public void setIds(String[] ids) {
/*  874 */     this.ids = ids;
/*      */   }
/*      */ 
/*      */   public List<OUser> getUserList() {
/*  878 */     return this.userList;
/*      */   }
/*      */ 
/*      */   public void setGroupId(Integer groupId) {
/*  882 */     this.groupId = groupId;
/*      */   }
/*      */ 
/*      */   public long getPageCount() {
/*  886 */     return this.pageCount;
/*      */   }
/*      */ 
/*      */   public void setPageCount(long pageCount) {
/*  890 */     this.pageCount = pageCount;
/*      */   }
/*      */ 
/*      */   public long getTotalCount() {
/*  894 */     return this.totalCount;
/*      */   }
/*      */ 
/*      */   public void setTotalCount(long totalCount) {
/*  898 */     this.totalCount = totalCount;
/*      */   }
/*      */ 
/*      */   public void setUserList(List<OUser> userList) {
/*  902 */     this.userList = userList;
/*      */   }
/*      */ 
/*      */   public List<OAttendanceSet> getOasetList() {
/*  906 */     return this.oasetList;
/*      */   }
/*      */ 
/*      */   public void setOasetList(List<OAttendanceSet> oasetList)
/*      */   {
/*  911 */     this.oasetList = oasetList;
/*      */   }
/*      */ 
/*      */   public OAttendanceSet getOas() {
/*  915 */     return this.oas;
/*      */   }
/*      */ 
/*      */   public void setOas(OAttendanceSet oas) {
/*  919 */     this.oas = oas;
/*      */   }
/*      */ 
/*      */   public Integer getOasid() {
/*  923 */     return this.oasid;
/*      */   }
/*      */ 
/*      */   public void setOasid(Integer oasid) {
/*  927 */     this.oasid = oasid;
/*      */   }
/*      */ 
/*      */   public String getTime() {
/*  931 */     return this.time;
/*      */   }
/*      */ 
/*      */   public void setTime(String time) {
/*  935 */     this.time = time;
/*      */   }
/*      */ 
/*      */   public Date[][] getDays() {
/*  939 */     return this.days;
/*      */   }
/*      */ 
/*      */   public void setDays(Date[][] days) {
/*  943 */     this.days = days;
/*      */   }
/*      */ 
/*      */   public Date getDate() {
/*  947 */     return this.date;
/*      */   }
/*      */ 
/*      */   public void setDate(Date date) {
/*  951 */     this.date = date;
/*      */   }
/*      */ 
/*      */   public List<OAttendanceRecord> getOarList() {
/*  955 */     return this.oarList;
/*      */   }
/*      */ 
/*      */   public void setOarList(List<OAttendanceRecord> oarList) {
/*  959 */     this.oarList = oarList;
/*      */   }
/*      */ 
/*      */   public String getAccount() {
/*  963 */     return this.account;
/*      */   }
/*      */ 
/*      */   public void setAccount(String account) {
/*  967 */     this.account = account;
/*      */   }
/*      */ 
/*      */   public OAttendanceHoliday getOattendanceHoliday() {
/*  971 */     return this.oattendanceHoliday;
/*      */   }
/*      */ 
/*      */   public void setOattendanceHoliday(OAttendanceHoliday oattendanceHoliday) {
/*  975 */     this.oattendanceHoliday = oattendanceHoliday;
/*      */   }
/*      */ 
/*      */   public List<OAttendanceHoliday> getOattendanceHolidayList() {
/*  979 */     return this.oattendanceHolidayList;
/*      */   }
/*      */ 
/*      */   public void setOattendanceHolidayList(List<OAttendanceHoliday> oattendanceHolidayList)
/*      */   {
/*  984 */     this.oattendanceHolidayList = oattendanceHolidayList;
/*      */   }
/*      */ 
/*      */   public String getNote() {
/*  988 */     return this.note;
/*      */   }
/*      */ 
/*      */   public void setNote(String note) {
/*  992 */     this.note = note;
/*      */   }
/*      */ 
/*      */   public Date getDayoff() {
/*  996 */     return this.dayoff;
/*      */   }
/*      */ 
/*      */   public void setDayoff(Date dayoff) {
/* 1000 */     this.dayoff = dayoff;
/*      */   }
/*      */ 
/*      */   public String getStartTime() {
/* 1004 */     return this.startTime;
/*      */   }
/*      */ 
/*      */   public void setStartTime(String startTime) {
/* 1008 */     this.startTime = startTime;
/*      */   }
/*      */ 
/*      */   public String getEndTime() {
/* 1012 */     return this.endTime;
/*      */   }
/*      */ 
/*      */   public void setEndTime(String endTime) {
/* 1016 */     this.endTime = endTime;
/*      */   }
/*      */   public String getState() {
/* 1019 */     return this.state;
/*      */   }
/*      */ 
/*      */   public void setState(String state) {
/* 1023 */     this.state = state;
/*      */   }
/*      */ }

/* Location:           /Volumes/work/oa/WEB-INF/classes/
 * Qualified Name:     com.jcrj.action.personalOffice.AttendenceManageAction
 * JD-Core Version:    0.6.0
 */